package com.example.demo.pojo;

/**
 * 用户登录参数
 *
 * @author 刘二朋
 * @date 2020-11-27 15:51
 */
public class SigIn {

    /**
     * 用户的账号
     */
    private String id;

    /**
     * 用户的昵称
     */
    private String name;

    /**
     * 用户的密码
     */
    private String password;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 带参数的构造器
     *
     * @param id
     * @param name
     * @param password
     */
    public SigIn(String id, String name, String password) {
        this.id = id;
        this.name = name;
        this.password = password;
    }

    @Override
    public String toString() {
        return "SigIn{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
